package com.mall.shop.entity.member;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * (MemberCollectSpu)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 14:23:48
 */
@Getter
@Setter
@TableName("ums_member_collect_spu")
@Schema(name = "实体", description = "映射")
public class MemberCollectSpu implements Serializable {
    private static final long serialVersionUID = -97744573631894831L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "member_id")
    @Schema(description = "")
    private Long memberId;
    
    @TableField(value = "spu_id")
    @Schema(description = "spu_id")
    private Long spuId;
    
    @TableField(value = "spu_name")
    @Schema(description = "spu_name")
    private String spuName;
    
    @TableField(value = "spu_img")
    @Schema(description = "spu_img")
    private String spuImg;
    
	@TableField(value = "create_time" , fill = FieldFill.INSERT)
    @Schema(description = "create_time")
    private Date createTime;
    
}

